package com.etoak.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 医生预约的时间表
 */
@Data
@TableName("registration_schedule")
public class Schedule {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer doctorId;

    private String workDate;

    private String timeSlot;

    private Integer total;
    /**
     * 可以预约的数量
     */
    private Integer remaining;
}
